package com.jhhc.EngineeringSafety.Calculate.Forecast.dao;

import com.jhhc.EngineeringSafety.Calculate.Forecast.entity.BDMS_YB_RESULT_M;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

public abstract interface BDMS_YB_RESULT_M3Mapper
{
    BDMS_YB_RESULT_M queryById(String cschemeid);

     List<BDMS_YB_RESULT_M> searchAllByCschemeid(String cschemeid, List<String> stcds, Integer dType);
    List<BDMS_YB_RESULT_M> searchAllByCschemeid2(String cschemeid,  Integer dType);
    List<BDMS_YB_RESULT_M> queryAllByLimit(BDMS_YB_RESULT_M paramBDMS_YB_RESULT_M, @Param("pageable") Pageable paramPageable);

     long count(BDMS_YB_RESULT_M paramBDMS_YB_RESULT_M);

   int insert(BDMS_YB_RESULT_M paramBDMS_YB_RESULT_M);
    int insertMysql(BDMS_YB_RESULT_M paramBDMS_YB_RESULT_M);
     int insertBatch(@Param("entities") List<BDMS_YB_RESULT_M> paramList);

     int insertOrUpdateBatch(@Param("entities") List<BDMS_YB_RESULT_M> paramList);

      int update(BDMS_YB_RESULT_M paramBDMS_YB_RESULT_M);

      int deleteById(String paramString);
}
